.PHONY:all
all:tcp_server_main tcp_client_main

tcp_server_main:tcp_server_main.cc
	g++ -o $@ $^  -ljsoncpp -std=c++14 -static -lpthread
tcp_client_main:tcp_client_main.cc
	g++ -o $@ $^  -ljsoncpp -std=c++14 

.PHONY:clean
clean:
	rm -f tcp_server_main tcp_client_main
